<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"></c:set>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>商品图片展示</title>
    <link rel="shortcut icon" href="${ctx}/favicon.ico"> <link href="${ctx}/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="${ctx}/css/font-awesome.css?v=4.4.0" rel="stylesheet">
    <link href="${ctx}/js/plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
    <link href="${ctx}/css/animate.css" rel="stylesheet">
    <link href="${ctx}/css/style.css?v=4.1.0" rel="stylesheet">
</head>
<body>
        <div class="row">
                <div class="col-sm-12">
                    <div class="ibox float-e-margins">
                        <div class="ibox-title">
                            <h5>商品图片列表
                            </h5>
                            <div class="ibox-tools">
                                
                            </div>
                        </div>
                        <div class="ibox-content"> 
                        	<c:forEach var="housegoods" items="${housegoodsList}">
                        		<a class="fancybox" href="${ctx}${housegoods.picture}" title="${housegoods.goods_name}">
                                <img alt="image" src="${ctx}${housegoods.picture}">
                            </a>
                        	</c:forEach>         
                        </div>
                    </div>
                </div>
        
            </div>
</body>
   <!-- 全局js -->
   <script src="${ctx}/js/jquery.min.js?v=2.1.4"></script>
   <script src="${ctx}/js/bootstrap.min.js?v=3.3.6"></script>

   <!-- Peity -->
   <script src="${ctx}/js/plugins/peity/jquery.peity.min.js"></script>

   <!-- Fancy box -->
   <script src="${ctx}/js/plugins/fancybox/jquery.fancybox.js"></script>


   <script>
       $(document).ready(function () {
           $('.fancybox').fancybox({
               openEffect: 'none',
               closeEffect: 'none'
           });
       });
   </script>
</html>